/*
 * @Author: yangni 920556271@qq.com
 * @Date: 2024-03-11 17:01:43
 * @LastEditors: yangni 920556271@qq.com
 * @LastEditTime: 2024-03-11 17:06:54
 * @FilePath: /yt-devops/lib/pages/devices/device_controll/device_set_page/device_set_page_controller.dart
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import 'package:get/get.dart';
import 'package:yt_devops/model/device_obj/service_config_model.dart';

class DeviceSetPageController extends GetxController {
  late int deviceId;
  late ServiceConfigModel serviceConfigModel;
  late Map<String, dynamic> dataSource;

  @override
  void onInit() {
    super.onInit();
    if (Get.arguments != null) {
      deviceId = Get.arguments['deviceId'];
      serviceConfigModel = Get.arguments['serviceConfigModel'];

      dataSource = Get.arguments['dataSource'] ?? {};
    }
  }

  @override
  void onReady() {}

  @override
  void onClose() {}
}
